export const TreeFolderActions: { [key: string]: string }[] = [
  {
    key: 'create',
    label: '新建部门',
  },
  {
    key: 'edit',
    label: '编辑',
  },
  {
    key: 'remove',
    label: '删除',
  },
];

export const Columns = [
  {
    title: '姓名',
    dataIndex: 'username',
    key: 'username',
  },
  {
    title: '部门',
    dataIndex: 'orgName',
    key: 'orgName',
  },
  {
    title: '联系电话',
    dataIndex: 'phone',
    key: 'phone',
  },
  {
    title: '邮箱',
    dataIndex: 'email',
    key: 'email',
  },
  {
    title: '角色',
    dataIndex: 'role',
    key: 'role',
  },
  {
    title: '授权状态',
    dataIndex: 'authStatus',
    key: 'authStatus',
  },
  {
    title: '操作',
    dataIndex: 'action',
    key: 'action',
    width: 260,
    align: 'center',
  },
];

export const RoleOption = [
  {
    label: '系统管理员',
    value: 'systemManage',
  },
  {
    label: '所有用户',
    value: 'normal',
  },
];
